<?php

namespace App\Http\Presenters\Acl;

use Laracasts\Presenter\Presenter;

class StaffPresenter extends Presenter
{
    /**
     * Present a link to the user gravatar
     */    

    public function staffStatus()
    {
        switch ($this->status) {
            case 1:
                return '<span class="green"><i class="ace-icon fa fa-circle status" data-id="'.$this->id.'"></i></span>';
                break;
            case 0:
                return '<span class="red"><i class="ace-icon fa fa-circle status" data-id="'.$this->id.'"></i></span>';
                break;
        }
    }


}
